<!DOCTYPE html>
<html lang="zh">
<head>
	<meta charset="UTF-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<meta http-equiv="X-UA-Compatible" content="ie=edge" />
	<title>Document</title>
	<script src="../../js/lib/sprite-v2.5.1/spritejs.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
	<p>a img change to canvas</p>
	<div id="container"></div>
	<script type="text/javascript">
		const imgUrl = "";
		const {Scene,Sprite} = spritejs;
		const paper = new Scene("#container",400,400);
		const sprite = new Sprite(imgUrl);
		sprite.attr({
		});
		paper.layer().appendChild(sprite);
	</script>
</body>
</html>